package com.wyhello.tube4.spring.model;

import java.util.List;
import java.util.Map;

import com.wyhello.tube4.facade.TubeFacade;
import com.wyhello.tube4.pojo.Position;
import com.wyhello.tube4.pojo.Reality;
import com.wyhello.tube4.pojo.Working;

public class WarningRecordsModel {
	private TubeFacade facade;

	public TubeFacade getFacade() {
		return facade;
	}

	public void setFacade(TubeFacade facade) {
		this.facade = facade;
	}
	
	public List<Reality> queryRealityWarn(){
		return facade.queryRealityWarn();
	}
	
	public List<Position> queryPosition(){
		return facade.queryPosition();
	}
	
	public List<Working> queryWorkingForWarn(){
		return facade.queryWorkingForWarn();
	}
	
	public Map<Integer,List<Position>> getPositionsNotCheckedThisYear(int boilerId, int count) {
		return facade.getPositionsNotCheckedThisYear(boilerId, count);
	}
	
	public Map<Integer,List<Position>> getPositionsNotCheckLasttime(int boilerId, int count) {
		return facade.getPositionsNotCheckedLasttime(boilerId, count);
	}
	
	public Map<Integer,List<Position>> getPositionNeverChecked(int boilerId, int count) {
		return facade.getPositionNeverChecked(boilerId, count);
	}
}
